/* 主页接口 */
import { selectAuctionImgInfo, selectPreviewProductInfo } from '../service/index.js';

/* 获取专场图片信息 */
let getAuctionImgInfo = async (ctx, next) => {
  selectAuctionImgInfo(ctx, next);
};

/* 获取预展信息 */
let getPreviewProductInfo = async (ctx, next) => {
  selectPreviewProductInfo(ctx, next);
};

/* 注意请求方式后面的空格 */
export default {
  'GET /auction/img': getAuctionImgInfo,
  'GET /previewProduct': getPreviewProductInfo,
};